<template>
	<view class="content">
		<view class="menu-block block">
			<view class="menu-content">
				<view class="top">
					<!-- <view class="district" @click="navigate('/page_other/business_loan/new_bus_loan/index')"> -->
					<view class="district" @click="jumpPageLogic">
						<image class="img" style="background-color: #FFFAE6;border-radius: 20rpx;"
							src="https://job-1306862033.cos.ap-chengdu.myqcloud.com/miniprogram-static/home/jq-erq/1.png">
						</image>
					</view>
					<view class="district" @click="navigate('/page_other/site/index')">
						<image class="img" style="background-color: #F5F7FF;border-radius: 20rpx;"
							src="https://job-1306862033.cos.ap-chengdu.myqcloud.com/miniprogram-static/home/jq-erq/2.png">
						</image>
					</view>
				</view>

				<view class="middle">
					<view class="district" @click="navigate('/page_other/teacher/index')">
						<image class="img" style="background-color: #F3F8ED;border-radius: 20rpx;"
							src="https://job-1306862033.cos.ap-chengdu.myqcloud.com/miniprogram-static/home/jq-erq/3.png">
						</image>
					</view>
					<view class="district" @click="navigate('/page_other/train/indexBefore')">
						<image class="img" style="background-color: #F8F6FE;border-radius: 20rpx;"
							src="https://job-1306862033.cos.ap-chengdu.myqcloud.com/miniprogram-static/home/jq-erq/4.png">
						</image>
					</view>
					<view class="district" @click="navigate('/page_other/policey/policey')">
						<image class="img" style="background-color: #FEF0ED;border-radius: 20rpx;"
							src="https://job-1306862033.cos.ap-chengdu.myqcloud.com/miniprogram-static/home/jq-erq/5.png">
						</image>
					</view>
				</view>
				<view class="bottom">
					<view class="district" @click="navigate('/page_other/entrepot/index')">
						<image class="img" style="background-color: #FFFAE6;border-radius: 20rpx;"
							src="https://job-1306862033.cos.ap-chengdu.myqcloud.com/miniprogram-static/home/jq-erq/6.png">
						</image>
					</view>
					<view class="district" @click="navigate('/page_other/drive/detail')">
						<image class="img" style="background-color: #F3F8ED;border-radius: 20rpx;"
							src="https://job-1306862033.cos.ap-chengdu.myqcloud.com/miniprogram-static/home/jq-erq/7.png">
						</image>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			jumpPageLogic() {
				this.showToast('模块正在升级维护中~')
			}
		}
	}
</script>

<style lang="less" scoped>
	.content {
		width: 100%;
		padding: 30rpx;
		background: url('https://jinchang-job-1306862033.cos.ap-chengdu.myqcloud.com/miniprogram-static/company_auth/entrepreneurship-bg.png')center no-repeat;
		background-size: 100% 100%;
		min-height: 100vh;

		.block {
			width: 100%;
			border-radius: 20rpx;
			margin-bottom: 30rpx;
		}


		.menu-block {
			margin: 30rpx auto;
			border-radius: 12px;
			margin-top: 70%;

			.menu-content {
				//padding: 30rpx;

				.top {
					width: 100%;
					display: flex;

					.district {
						width: calc((100% - 40rpx)/2);
						height: 180rpx;
						margin: 20rpx auto 0;

						.img {
							width: 100%;
							height: 100%;
						}
					}
				}

				.middle {
					width: 100%;
					display: flex;

					.district {
						width: calc((100% - 60rpx)/3);
						height: 260rpx;
						margin: 20rpx auto 0;

						.img {
							width: 100%;
							height: 100%;
						}
					}
				}

				.bottom {
					width: 100%;
					display: flex;

					.district {
						width: calc((100% - 40rpx)/2);
						height: 180rpx;
						margin: 20rpx auto 0;

						.img {
							width: 100%;
							height: 100%;
						}
					}
				}
			}

			.block-title {
				width: 100%;
				display: flex;
				align-items: center;

				.line {
					width: 14rpx;
					height: 32rpx;
					background: #fc0329;
					border-radius: 35%;
					margin-right: 20rpx;
				}
			}

			.menu-content {
				width: 100%;
				display: flex;
				flex-wrap: wrap;

				.menu-item {
					width: 25%;
					display: flex;
					flex-direction: column;
					align-items: center;
					justify-content: center;
					margin-top: 30rpx;

					.menu-icon {
						width: 100rpx;
						height: 100rpx;
						border-radius: 50%;
					}

					.menu-name {
						font-size: 28rpx;
						margin-top: 20rpx;
					}
				}
			}
		}
	}
</style>